package com.flower.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 收藏夹表
 */
@Data
@TableName("favorite")
public class Favorite {
    /**
     * 收藏ID
     */
    @TableId(type = IdType.AUTO)
    private Integer favoriteId;

    /**
     * 用户ID
     */
    private Integer buyerId;

    /**
     * 商品ID
     */
    private Integer productId;

    /**
     * 收藏时间
     */
    private LocalDateTime createTime;

    /**
     * 备注
     */
    private String remark;
}